package com.esinhai.tz.common;

/**
 * Created by 32988 on 2018/4/11.
 */
public enum ResponseCode {
    SUCCESS(0,"SUCCESS"),
    ERROR(1,"ERROR"),
    NEED_LOGIN(10,"NEED_LOGIN"),
    ILLEGAL_ARGUMENT(2,"ILLEGAL_ARGUMENT");

    private ResponseCode(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    private int code ;
    private String desc;

    public int getCode() {
        return code;
    }
    public String getDesc() {
        return desc;
    }
}
